package demo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * User: yian
 * Date: 2018/3/12
 */
public class Provider {
    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
                new String[] {"dubbo-demo-provider.xml"});
        context.start();
        // press any key to exit
        while (true){
            Thread.sleep(1000000000);
        }
    }
}
